import {
  Entity,
  Column,
  PrimaryGeneratedColumn,
  ManyToOne,
  OneToMany,
} from 'typeorm';
import { consumption } from '@/modules/consumption/entities/consumption.entity';
@Entity()
export class reservation {
  @PrimaryGeneratedColumn()
  id: number;

  @Column()
  canReservation: string;

  @ManyToOne(() => consumption, (consumption) => consumption.id)
  reservation: consumption;
}
